import './assets/main.css'
import './Mock/mock'
import { createApp } from 'vue'
import { createPinia } from 'pinia'
import { 
    Button,
    Tabbar,
    TabbarItem,
    Cell, 
    CellGroup,
    Tab, 
    Tabs,
    AddressList,
    AddressEdit,
    Grid, 
    GridItem,
    Image as VanImage,
    Card,
    ContactCard,
    SubmitBar,
    Dialog
 } from 'vant';
import 'vant/lib/index.css';

import App from './App.vue'
import router from './router'

const app = createApp(App)
const pinia = createPinia()


app.use(Button);
app.use(pinia)
app.use(router)
app.use(Tabbar);
app.use(TabbarItem);
app.use(Cell);
app.use(CellGroup);
app.use(Tab);
app.use(Tabs);
app.use(AddressList);
app.use(AddressEdit);
app.use(Grid);
app.use(GridItem);
app.use(VanImage);
app.use(Card);
app.use(ContactCard);
app.use(SubmitBar);
app.use(Dialog);

app.mount('#app')
